package chen.web.config.spring;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import chen.web.forum.CategoryManager;
import chen.web.forum.CategoryManagerImpl;

@Configuration
public class CategoryManagerConfig {
	
	//分类管理
	public @Bean CategoryManager categoryManager(){
		return new CategoryManagerImpl();
	}
	
}
